package com.t174.car.dao;

import com.t174.car.entity.Guests;

import java.util.List;

public interface GuestsDao {
    /**
     * 查询用户
     */
    public List<Guests> query();
    /**
     * 添加信息
     */
    public int getGuests(Guests guests);
    /**
     * 删除
     */
//    public int delGuests(int id);
    public int delGuests(Integer[] id ) ;

    public Guests getGuestsid(int gid);
    /**
     * 修改
     */
    public int updateGuests(Guests guests);

    public List<Guests> showsGuests(int id);

    public Guests getGuestsById(int id);
}
